package com.xj.demo.design;

public class ScoreDecorate extends Decorator {
    public ScoreDecorate(SchoolReport sr) {
        super(sr);
    }

    public void reportSort() {
        System.out.println("我是排名第38");
    }

    public void report() {
        super.report();
        this.reportSort();
    }
}
